package com.jinzhi.jinzhidata.dataobject;

import lombok.Data;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.Id;

/**
 * @description
 * @date 2020-01-05 19:18
 **/
@Data
@EntityListeners(AuditingEntityListener.class)
@Entity
public class ArticleType {

    @Id
    private String articleTypeId;

    @Column(unique = true)
    private String articleTypeName;

}
